//
//  BanBu_ManuscriptTableViewCell.h
// Halfarea
//
//  Created by banbu3 on 14/6/4.
//
//

#import <UIKit/UIKit.h>
#import "BanBu_MediaView.h"
#import "BanBu_VoiceView.h"
#import "BanBu_ManuscriptAPI.h"


@interface BanBu_ManuscriptTableViewCell : UITableViewCell
{
    UIImageView *lineView;
    
    //设置选中
    UIImageView*	m_checkImageView;
	BOOL			m_checked;
}
@property (assign, nonatomic) MsgType type;//收藏的消息类型
@property (assign, nonatomic) NSInteger bkViewWidth;
@property (retain, nonatomic) NSDictionary * collectedDic;//收藏的详细信息

@property (retain, nonatomic) IBOutlet UIActivityIndicatorView *activitIndicator;
@property (retain, nonatomic) IBOutlet UIImageView *avactor;//头像
@property (retain, nonatomic) IBOutlet UILabel *nameLabel;  //姓名
@property (retain, nonatomic) IBOutlet UILabel *timeLabel;  //时间
@property (retain, nonatomic) IBOutlet UILabel *smileLabel; //文本
@property (retain, nonatomic) IBOutlet UITextView *inputText;
@property (retain, nonatomic) IBOutlet BanBu_MediaView *mediaView;//图片
@property (retain, nonatomic) IBOutlet BanBu_VoiceView *voiceView;//语音
@property (retain, nonatomic) IBOutlet UIImageView *voiceBg;

//设置背景颜色
-(void)setBg;

//设置cell的各属性
-(void)setCellInfo:(NSDictionary *)infoDic withEditing:(BOOL)editing;

//设置本cell选中
- (void) setChecked:(BOOL)checked;

@end
